<?php

require '../vendor/autoload.php';

use Monolog\Logger;
use Monolog\Handler\StreamHandler;

// whoops component
$whoops = new \Whoops\Run;
$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
$whoops->register();

// monolog component
$log = new Logger('pf');
$log->pushHandler(new StreamHandler('../var/logs/dev.log', Logger::NOTICE));

echo 'My first own project.';
